﻿using Xms.Abp.Settings;
using Xms.Abp.Messaging.Localization;
using System.Collections.Generic;

namespace Xms.Abp.Messaging.Smsing;

[SettingsDefinition(TenantSettingsValueProvider.ProviderName, typeof(MessagingResource))]
public class SmsSettings : SettingsBase
{
    [SettingValue("Null")]
    public string DefaultProvider => GetValue();

    [SettingValue("true")]
    public bool IsErrorAutoSwitchProvider => GetValue<bool>();

    public bool IsForwordEnabled => GetValue<bool>();

    public Dictionary<string, string> Forwords => GetDictionary();
}
